#include <stdio.h>
int main(void){
	int i,n,count_,count_a,count_1,count__;
	char ch;
	n=10;
	count_=0;
	count_a=0;
	count_1=0;
	count__=0; 
	printf("plz enter a character:\n");
	for(i=1;i<=n;i++){
		ch = getchar();
		if(ch==32){
			count_++;
		}
		else if(ch>=65 && ch<=93 || ch>=97 && ch<=122){
			count_a++;
		}
		else if(ch>=48 && ch<=57){
			count_1++;
		}
		else{
			count__++;
		}
	}
	printf("blank=%d\nalphabet=%d\nfigure=%d\nelse=%d\n",count_,count_a,count_1,count__);
	return 0;
}
